package com.shop.web.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_sign")
public class UserSign {
    @TableId(type = IdType.AUTO)
    private Long signId;
    private Long userId;
    private Integer points;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date signTime;
    private String remark;
} 